﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AnQuanKC.aspx.cs" Inherits="Catering.Catering_Page.Kufang.AnQuanKC" %>
<%@ Register src="~/UCPanle/DDLTool.ascx" tagname="DDLTool" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../Style/head.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/center.css" />
    <link rel="stylesheet" type="text/css" href="../../Style/zhezhao.css" />
</head>
<style type="text/css">
#SearchList table th{height:30px; text-align:center; font-weight:bold; line-height:30px;}
#SearchList table td{height:30px; text-align:center; line-height:30px;}
</style>
<script type="text/javascript">
    function GetData(areaid, classid, orderby, pageIndex,pageSize) {
        Catering.Catering_Page.AjaxHandler.WebServiceKFSZ.GetRoomWaingList(areaid, classid, orderby, pageIndex, pageSize, SetData);
    }
    function GetIniteData() {
        var areaid = document.getElementById("DDLTool1_ddl_Area").value;
        var classid = document.getElementById("DDLTool1_ddl_class").value;
        GetData(areaid, classid, "", 1, 10);
    }
    function SetData(objdata) {
        if (objdata) {
            document.getElementById("SearchList").innerHTML = objdata;
        }
    }
</script>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager2" runat="server">
        <Services>
            <asp:ServiceReference Path="~/Catering_Page/AjaxHandler/WebServiceKFSZ.asmx" />
        </Services>
    </asp:ScriptManager>
    <div class="xxk_button1">
        <ul>
            <li id="li2_1" class="li_out"><a href="Kfsz.aspx">库房信息</a></li>
            <li id="li2_2" class="li_out"><a href="Kfsz.aspx">报警设置</a></li>
            <li id="li2_3" class="li_out li_over"><a href="AnQuanKC.aspx">安全库存</a></li>
            <li id="li2_4" class="li_out"><a href="WeiXiuBJ.aspx">维修报警</a></li>
        </ul>
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        <div class="Center_Content">
            <div class="div_0207" style="width:998px;">
                <table align="left" width="100%" border="0" cellspacing="0" cellpadding="0" class="ckgl_table" style="height:34px">
                    <thead>
                        <tr>
                            <td>
                                <uc1:DDLTool ID="DDLTool1" DisplayYear="false" runat="server" />
                            </td>
                            <td width="100" valign="middle" align="right">
                                <a href="javascript:GetIniteData();">查　询</a>
                            </td>
                            <td width="10"></td>
                        </tr>
                    </thead>
                </table>
            </div>
        </div>
        <div class="Center_Content" id="SearchList">        
        </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <div class="footer">
        <strong>中海油能源发展配餐服务公司渤海自营油田作业公司</strong><span>版权所有@CopyRight 2012</span>
    </div>    
    </form>
</body>
</html>
